package jse.test20160807.reflectGetFiled;

/**
 * @desc 新建学生类并设置属性用来获取
 *
 * @author ${user}
 * @create 2016 08 07 21:29
 */
public class Student {

    private  int id;
    private String name;
    private boolean male;
    private double account;


    public Student(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isMale() {
        return male;
    }

    public void setMale(boolean male) {
        this.male = male;
    }

    public double getAccount() {
        return account;
    }

    public void setAccount(double account) {
        this.account = account;
    }
}
